<?php
 
class Pagamento extends AppModel {
    var $useTable = 'pagamento'; // nome della tabella

    public $actsAs = array('Lang');
        
	public $belongsTo = array(
     'Bookmaker' => array(
            'className'     => 'Bookmaker',
            'foreignKey'    => 'bookmaker_id',
          ),
	 'Metodo' => array(
            'className'     => 'Category',
            'foreignKey'    => 'metodo',
          )
    );
      
	public $hasMany = array(
                'PagamentoLang' => array(
                'className' =>'PagamentoLang'
                ,'foreignKey' =>'reference_id'
                )
    );


}

?>